package IC.Parser;

/**
 * The class extends Exception
 * the exceptions thrown if syntax-parser error occurs
 */
public class SyntaxError extends Exception 
{
	  // default constructor
	public SyntaxError(String msg) {
		super(msg);
	}

	// constructor
	public SyntaxError(String msg, int line) {
		super(line + ": " + msg);
	}
}
